<?php
include("gestione/includes/config.inc.php");
include("gestione/includes/auth.lib.php");
include("gestione/includes/function.inc.php");
$rs = $conn->Execute("select idarticolo,codice,titolo1,image from articoli_new where import=1 and giardino=1 and attivo='y' and image=''");
while(!$rs->EOF) {
	//if(!file_exists($_SERVER[DOCUMENT_ROOT]."/immagini-giardino/".$rs->Fields("image")))
	  echo $rs->Fields("codice")." ".$rs->Fields("titolo1")." --> ".$rs->Fields("idarticolo")."/".$rs->Fields("image")."<br>";
	$rs->MoveNext();
}
?>